package com.example.firstboot.entity;

import java.util.Date;
import lombok.Data;

@Data
public class TbUser {
    private Integer id;

    private String account;

    private String username;

    private String password;

    private Integer roleflag;

    private String idnumber;

    private String phone;

    private String email;

    private String level;

    private String department;

    private Date datetime;

    private Double fee;

    public TbUser(Integer id, String account, String username, String password, Integer roleflag, String idnumber, String phone, String email, String level, String department, Date datetime, Double fee) {
        this.id = id;
        this.account = account;
        this.username = username;
        this.password = password;
        this.roleflag = roleflag;
        this.idnumber = idnumber;
        this.phone = phone;
        this.email = email;
        this.level = level;
        this.department = department;
        this.datetime = datetime;
        this.fee = fee;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getRoleflag() {
        return roleflag;
    }

    public void setRoleflag(Integer roleflag) {
        this.roleflag = roleflag;
    }

    public String getIdnumber() {
        return idnumber;
    }

    public void setIdnumber(String idnumber) {
        this.idnumber = idnumber;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public Double getFee() {
        return fee;
    }

    public void setFee(Double fee) {
        this.fee = fee;
    }
}